package Day08_11;

import java.util.HashSet;
import java.util.Set;

public class MyClass {
    public static class InnerClass {
        public static void m1() {
            System.out.println("MyClass 中的静态内部类 静态方法m1()");
        }

        public void m2() {
            System.out.println("MyClass 中的静态内部类 实列方法m2()");

        }
    }

    public static void main(String[] args) {
        MyClass.InnerClass.m1();
        MyClass.InnerClass t = new InnerClass();
        t.m2();
        Set<MyClass.InnerClass> set = new HashSet<>();
        Set<String> set2 = new HashSet<>();

    }

}
